{extend name="index/index" /}
{block name="main"}
<!--bbs main-->
<link href="/static/assets/css/bootstrap.css" type="text/css" rel="stylesheet"/>

<div class="w1000 BbsMain">
	<div class="ComonPart">
		当前位置：<a href="index">宠物社区</a>&nbsp;&gt;&nbsp;<span>搜索</span>
	</div>
	<div class="iclear M20">
	</div>
	<!--sSearch-->
	<div class="sSearch">
		<!--content-->
		<div class="sF_rightBox">
			<div class="sF_rBar sS_rBar">
				<div class="sS_search">
					<form action="/index/Index/search" method="GET" id="search_id" name="search">
						<input type="text" class="sS_ii" id="keyword" name="select" ><input type="submit" class="sS_ib" value="">
					</form>
				</div>
			</div>
			<!--Page-->
			<div class="sF_rightP sS_rSrh">
				
				
			</div>
			<!--/Page-->
			<div class="sF_rBox" style="position:relative;">
			
				<table cellspacing="0" cellpadding="0" class="sF_Table">
				<tbody>
				{empty name='data'}
				<center style="height:500px"><h1>没有找到你要的结果~~~~(>_<)~~~~</h1></center>
				{else /}
				<tr class="sF_Tfirst">
					<td>
						标题
					</td>
					
					<td class="td_w120">
						作者
					</td>
					<td class="td_w120">
						时间
					</td>
					<td class="td_w120">
						回复/查看
					</td>
					
				</tr>
				
				{volist name="data" id="vo"}
				<tr>
					<td class="td_t1">
						{$i}丶<a href="{:url('Content/index',['art_id'=>$vo.id])}" target="_blank">{$vo.title}</a>
						<div class="page_tips">
						</div>
					</td>
					
					<td class="td_t3">
					{if condition="$vo.use_id eq $Think.session.user.id"} <a href="{:url('index/Personal/index')}">
                    {else /} <a href="{:url('index/PersonalOthers/index',['id'=>$vo.use_id])}" target="_blank">
                    {/if}{$vo.author}</a>
						
					</td>
					<td class="td_t3">
						
						<p>
							{$vo.pubdate|date="Y-m-d H:i:s",###}
						</p>
					</td>
					<td class="td_t3">
					 {$vo.count} / {$vo.check}
					</td>
					
				</tr>
				
				{/volist}
				{/empty}
				</tbody>
				</table>
				{$page}
				</div>
			</div>
		</div>
	</div>	
{/block}
